00001 00005 class Timeline 00006 { 00007 private: 00008 osg::Group* timelineNode; 00009 osg::ref_ptr<osg::Group> quadGroup; 00010 int numOfPoints ; 00011 int numOfIntervals; 00012 osg::Vec3Array* vertices ; 00013 osg::Vec3 quads[4]; 00014 00015 public: 00026 Timeline(); 00032 osg::Node* createScalarBar(); 00038 osg::ref_ptr<osg::Group> getQuadGroup(); 00044 osg::Node* getTimelineNode(); 00049 void fillVerticesArray(); 00055 void fillQuadsArray(int i); 00061 osg::ref_ptr<osg::Group> createQuads(); 00067 osg::Node* createLines(); 00068 }; 00069
1.4.6-NO